package com.sunny.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;
import framework.base.BaseIbatis3Dao;
import com.sunny.dao.IRoleDao;
import com.sunny.model.Role;

/**
  * 角色表 [Dao实现类]
  * @Description: 
  * @author baolin.liu  Email:543847778@qq.com
  * @date 2016-08-05 14:08:15
  * @version V1.0
 */
@Repository
public class RoleDao extends BaseIbatis3Dao<Role> implements IRoleDao
{
	public Class getEntityClass()
	{
		return Role.class;
	}

	@Override
	public List<String> selectRoleNameList(String userName) {
		return getSqlSession().selectList("Role.selectRoleNameList", userName);
	}
}